﻿

namespace Inovout.Gis.Element
{
    public class GeometryElementFactory
    {
        public IGeometryElement CreateGeometry(IGeometryElement genometry)
        {
            return null;
            //if (genometry is ILineElement)
            //{
            //    return new LineElement(genometry as ILineElement);
            //}
            //else if (genometry is IPointElement)
            //{
            //    return new LineElement(genometry as ILineElement);
            //}
            //else if (genometry is IPolygonElement)
            //{
            //    return new PolygonElement(genometry as IPolygonElement);
            //}
            //else
            //{
            //    throw new System.NotImplementedException(genometry.GetType().ToString());
            //}
        }
    }
}
